//
//  TopSubjectView.h
//  NaRiLSVMT
//
//  Created by jmsre on 14-8-10.
//  Copyright (c) 2014年 helloyouth.org. All rights reserved.
//

#import <UIKit/UIKit.h>

@class TopSubjectView;

@protocol TopSubjectViewDelegate <NSObject>

- (void)HandlePushViewController:(id)viewController;

- (void)HandlePopViewController:(id)viewController;

- (void)HandlePopTwiceViewController:(id)viewController;

//- (void)HandleJumpToScreenPreviewView:(id)viewController;

@end


@interface TopSubjectView : UIView
{
    NSArray *nameArray;
    NSInteger userSelectedChannelID;        //点击按钮选择名字ID
    NSInteger topViewSelectedChannelID;  //“流程控制”，“屏幕预览”,列表选择名字ID
    
//    UIImageView *shadowImageView;   //选中阴影

}


Assign id<TopSubjectViewDelegate>  delegate;


@property (nonatomic, retain) NSArray *nameArray;

@property(nonatomic,retain)NSMutableArray *buttonOriginXArray;
@property(nonatomic,retain)NSMutableArray *buttonWithArray;

@property (nonatomic, assign) NSInteger topViewSelectedChannelID;

+ (TopSubjectView *)shareInstance;
/**
 *  加载顶部标签
 */
- (void)initWithNameButtons;




@end
